<!-- directive:title 自定义服务 $notify -->
<!-- directive:breadcrumb $notify -->
<div class="panel-body">
    <button type="button" class="btn btn-success" ng-click='fun_1()'>$notify.success()</button>
    <button type="button" class="btn btn-danger" ng-click='fun_2()'>$notify.error()</button>
    <button type="button" class="btn btn-success" ng-click='fun_3()'>您有一个表单未提交</button>
    <script type="text/xian" ui-bs>
        $scope.fun_1 = function (){ $notify.success("保存成功") };
        $scope.fun_2 = function (){ $notify.error("错误哈哈") };
    </script>
</div>
